package com.mes.dao.lz;

import com.mes.entity.lz.LzQueryCriteria;
import com.mes.entity.lz.TrolleyInfo;
import com.mes.entity.lz.TrolleyInfo_ProductCode;

import java.util.List;

/**
 * @ClassName TrolleyInfoMapper
 * @Description 台车信息
 * @Author lz
 * @Date 2019年2月18日 14:56:10
 * @Version 1.0
 */
public interface TrolleyInfoMapper {

    Long addTrolleyInfo(TrolleyInfo trolleyInfo);

    Long deleteTrolleyInfoById(long id);

    Long updateTrolleyInfoById(TrolleyInfo trolleyInfo);

    List<TrolleyInfo> queryTrolleyInfoList(LzQueryCriteria criteria);

    Long countTrolleyInfoList(LzQueryCriteria criteria);

    List<TrolleyInfo> queryTrolleyByTrolleyCode(String trolleyCode);

    Long addTrolleyInfo_ProductCode(TrolleyInfo_ProductCode trolleyInfo_productCode);

    Long updateTrolleyInfoStatusByTrolleyCode(String trolleyCode);
}
